<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>用户注册</title>
    <link rel="stylesheet" type="text/css" href="实验二.css">

</head>
<body>
    <div class="main">
        <form id="form" target="_blank" action="注册表.html"  methos="get" onsubmit="return check()">
            <table>
                <tr >
                    <td>用户ID：</td>
                    <td><input type="text" id="id" name="id"><span class="errormsg s1">6-8位</span></td>
                </tr>
                <tr>
                    <td>用户名：</td>
                    <td><input type="text" id="name" name="n1"><span class="errormsg s1">2-10位</span></td>
                </tr>
                <tr>
                    <td>口令：</td>
                    <td><input type="text" id="pwd" name="pwd"><span class="errormsg s1">6-8位，不能与用户ID相同</span></td>
                </tr>
                <tr>
                    <td>确定口令：</td>
                    <td><input type="text" id="tpwd"><span class="errormsg s1">与口号相同</span></td>
                </tr>
                <tr>
                    <td>生日：</td>
                    <td><input type="text" id="birthday" name="birth"><span class="errormsg s1">格式为：yyyy-mm-dd</span></td>
                </tr>
                <tr>
                    <td>学历：</td>
                    <td><input type="radio" name="g1" id="r1" value="专科">专科
                        <input type="radio" name="g1" id="r2" value="本科">本科
                        <input type="radio" name="g1" id="r3" value="硕士研究生科">硕士研究生
                        <input type="radio" name="g1" id="r4" value="其他">其他</td>
                </tr>
                <tr>
                    <td>地区：</td>
                    <td><select id="area" name="a2">
                        <option value="华南" selected >华南</option>
                        <option value="华北" >华北</option>
                    </select></td>
                </tr>
                <tr>
                    <td>E-mail：</td>
                    <td><input type="text" id="email" name="email"><span class="errormsg s1"></span></td>
                </tr>
                <tr>
                    <td>地址：</td>
                    <td><input type="text" id="address" name="address"></td>
                </tr>
                <tr>
                    <td>电话：</td>
                    <td><input type="text" id="tel" name="tel"><span class="errormsg s1">11位</span></td>
                </tr>
                <tr>
                    <td>备注：</td>
                    <td><textarea id="comment" name="comment" rows="10" cols="30"></textarea></td>
                </tr>
                <tr>
                    <td><input type="reset" id="reset" value="重置"></td>
                    <td><input type="submit" id="submit" value="提交"></td>
                </tr>
            </table>
        </form>
    </div>
    <script type="text/javascript" src="实验二.js"></script>
</body>
</html>